This topic demonstrates the use of PESetSelectionFormula. You can use code similar to the following at any time to change a selection formula string:
LOCAL cSelectionFormula, result
cSelectionFormula = "{salesrep.SALES} > 20000.00"
result = PESetSelectionFormula(Job, cSelectionFormula)
IF result = .F.
nError = PEGetErrorCode(Job)
&& Handle error
return
ENDIF
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |